﻿<phone:PhoneApplicationPage 
    d:TR="    x:Class=&quot;$rootnamespace$.$safeitemrootname$&quot;"
    x:Class="CalciumTemplateApp.PageView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c="clr-namespace:DanielVaughan.Windows.Controls;assembly=Calcium.Phone"
    xmlns:c2="clr-namespace:DanielVaughan.Windows;assembly=Calcium.Phone"
    d:TR2="    xmlns:controls=&quot;clr-namespace:$defaultnamespace$.Controls&quot;"
    xmlns:controls="clr-namespace:CalciumTemplateApp.Controls;assembly=CalciumTemplateApp" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    shell:SystemTray.IsVisible="{Binding AppSettings.SystemTrayVisible, FallbackValue=true}"
    c2:VisualStateUtility.VisualState="{Binding VisualState}"
    Style="{StaticResource PageStyle}"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait">

  <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!-- The app and page title are presented with the TitleControl. 
             The title of the page is taken from the viewmodel's Title property. -->
        <controls:TitleControl />

        <!-- ContentPanel - Place additional content here. -->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            
        </Grid>

        <!-- Sample code showing usage of the Calcium AppBar. -->
        <!--
        <c:AppBar>
            <c:AppBarIconButton Command="{Binding AViewModelCommand}" Text="Do Command"
                IconUri="/Views/Images/AppBar/Image1.png" />
            <c:AppBarToggleButton                 
                Command1="{Binding PauseCommand}" Text1="Pause" IconUri1="/Images/Pause.png" 
                Command2="{Binding PlayCommand}"  Text2="Play" IconUri2="/Images/Play.png"
                Toggled="{Binding CanPlay}" />
            <c:AppBar.MenuItems>
                <c:AppBarMenuItem Command="{Binding AViewModelCommand}"
                    Text="{Binding Resources.Instance.Commands_AViewModelCommand, 
                                   Source={StaticResource Resources}}" 
                    Visibility="{Binding AViewModelProperty, 
                                         Converter={StaticResource BooleanToVisibilityConverter}}" />
                <c:AppBarHyperlinkMenuItem NavigateUri="/Views/View1.xaml" Text="View 1" />
            </c:AppBar.MenuItems>
        </c:AppBar>
        -->
    </Grid>

</phone:PhoneApplicationPage>
